﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Info.aspx.cs" Inherits="lcmyjobs.Web.enprise.Info" ValidateRequest="false" %>

<%@ Register Src="../Controls/TopEmployNavigation.ascx" TagName="TopEmployNavigation"
    TagPrefix="uc1" %>
<%@ Register Src="../Controls/Bottom8.ascx" TagName="Bottom8" TagPrefix="uc2" %>
<%@ Register Src="../Controls/EnterpriseLeft.ascx" TagName="EnterpriseLeft" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>单位管理中心—单位资料：单位信息&bull;联系方式</title>
    <link href="../Styles/css.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <script src="../Scripts/drag.js" type="text/javascript"></script>
    <script src="../Scripts/city_func.js" type="text/javascript"></script>
    <script src="../Scripts/city_arr.js" type="text/javascript"></script>    
    <script src="../Scripts/industry_arr.js" type="text/javascript"></script>
    <script src="../Scripts/industry_func.js" type="text/javascript"></script>
    <script src="../Scripts/funtype_arr.js" type="text/javascript"></script>
    <script src="../Scripts/funtype_func.js" type="text/javascript"></script>
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script> 
    <script language="javascript" type="text/javascript">
        $(function () { $(".grgl_ul li a").eq(1).addClass("activ_n"); });

        function in_array(needle, haystack) {
            if (typeof needle == 'string' || typeof needle == 'number') {
                for (var i in haystack) {
                    if (haystack[i] == needle) {
                        return true;
                    }
                }
            }
            return false;
        }


        function checkname(val) {
            var bid = $("#hid_bid").val();
            alert(bid);
            var uname = val.value;
            reg = /^[0-9A-Za-z_]{6,10}$/;
            if (reg.test(uname)) {
                //alert(uname);

                $.ajax({ type: "POST",
                    url: "CheckNameAjax.aspx",
                    data: "name=" + uname + "&bid=" + bid + "&t=1",
                    success: function (msg) {
                        if (msg == "0") {
                            $("#div_loginmsg").html("用户名已被注册！");
                            $("#txtlogin").val("");
                            $("#txtlogin").focus();
                            $("#div_loginmsg").css("color", "Red");
                        }
                        else {
                            //$("#div_loginmsg").html("该用户名可以使用！");
                            //$("#div_loginmsg").css("color", "Green");
                        }
                    },
                    error: function (XMLResponse) {
                        alert(XMLResponse.responseText);
                    }
                });

            }
            else {
                $("#div_loginmsg").html("请输入6-10位用户名！");
                $("#txtlogin").focus;
            }
        }

        function checkEmail(val) {
            var bid = $("#hid_bid").val();
            //alert(bid);
            var uname = val.value;
            reg = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
            if (reg.test(uname)) {
                //alert("adsf");
                $.ajax({ type: "POST",
                    url: "CheckNameAjax.aspx",
                    data: "name=" + uname + "&bid=" + bid + "&t=2",
                    success: function (msg) {
                        if (msg == "0") {
                            $("#div_emailmsg").html("邮箱已被注册！");
                            $("#txtemail").val("");
                            $("#txtemail").focus();
                            $("#div_emailmsg").css("color", "Red");
                        }
                        else {
                            //$("#div_emailmsg").html("该邮箱可以使用！");
                            //$("#div_emailmsg").css("color", "Green");
                        }
                    },
                    error: function (XMLResponse) {
                        alert(XMLResponse.responseText);
                    }
                });

            }
            else {
                $("#div_emailmsg").html("请输入email地址！");
                $("#txtemail").focus;
            }
        }

        function checkpwd(val) {
            var pwd = $("#txtpwd").val();
            var pwdcheck = val.value;

            //alert(pwd);

            if (!pwd.equals(pwdcheck)) {
                $("#pwdcheckmsg").val("两次输入密码不一致！");
            }

        }

        function setdz(dz) {
            $("#txtaddress").val(dz);
            $("#txtinterviewadd").val(dz);
        }

        function selectme(str) {
            if (str == "dwxx") {
                $("#dwxx").attr("class", "disblock");
                $("#dwjs").attr("class", "disnone");
                $("#al").attr("class", "cura");
                $("#ai").attr("class", "");

            }
            else {
                $("#dwxx").attr("class", "disnone");
                $("#dwjs").attr("class", "disblock");
                $("#al").attr("class", "");
                $("#ai").attr("class", "cura");
            }
        }

    </script>
    <style type="text/css">
        .style3
        {
            color: #ff6600;
        }
         .disnone
        {
        	display:none;
        }
        .disblock
        {
        	display:block;
        }
        .cura{
	        font-size:14px;
	        color:#fff;
	        font-size:15px;
	        font-weight:bold;
	        padding:1px 10px;
	        margin:0px 5px 0 5px;
	        font-weight:bold;
	        color:#ff6600;
        }

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="lo_wrap">
        <uc1:TopEmployNavigation ID="TopEmployNavigation1" runat="server" />
        <div class="zgzt_img">
            <img src="../qimg/zgzt_img.jpg" alt="找工作？就来我就业网！" width="950" height="70" />
        </div>
        <div class="syd_dhk">
            欢迎您：
                <asp:Label ID="lbl_title" runat="server" Font-Bold="True" ></asp:Label>
        </div>
        <div class="ny_center" style="margin-top: 5px;">
            <uc3:EnterpriseLeft ID="EnterpriseLeft1" runat="server" />
            <div class="grgl_right">
                <div class="grgl_jbzl">
                    <p class="jbzl_zhuc_ls">
                        <a id="al" name="al" onclick="selectme('dwxx')" class="cura"  href="#">单位信息&bull;联系方式</a> |  <a id="ai" name="ai" onclick="selectme('dwjs')" href="#">单位介绍</a>
                        &nbsp;
                    </p>
                    
                    <div class="xinxi_zc"> 
                        <div id="dwxx" name="dwxx">
                        <div class="jbxx_lr_ls">
                            单位信息</div>
                        <table border="0" cellpadding="0" cellspacing="0" class="jbzl_tab_ls">
                            <tr>
                                <td class="red_td" width="10">
                                    *
                                </td>
                                <td width="280">
                                    单位名称：
                                    <asp:TextBox ID="txtname" runat="server" Width="170px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtname"
                                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td class="qys_td">
                                    以营业执照上的单位名称为准，不允许用简称
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>
                                    所属行业：
                                    <asp:TextBox ID="txttrade" runat="server" onclick="IndustrySelect()" Width="170px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txttrade"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td class="qys_td">
                                    最多允许选择3个行业类别
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>
                                    所在地区：
                                    <asp:TextBox ID="txthuji" runat="server" onclick="hukouSelect()" Width="170px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txthuji"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td class="qys_td">
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>
                                    单位性质：
                                    <asp:DropDownList ID="ddl_dwxz" runat="server" Width="78px">
                                        <asp:ListItem>民营</asp:ListItem>
                                        <asp:ListItem>办事处</asp:ListItem>
                                        <asp:ListItem>分公司</asp:ListItem>
                                        <asp:ListItem>合资</asp:ListItem>
                                        <asp:ListItem>外商独资</asp:ListItem>
                                        <asp:ListItem>股份制企业</asp:ListItem>
                                        <asp:ListItem>上市公司</asp:ListItem>
                                        <asp:ListItem>国企</asp:ListItem>
                                        <asp:ListItem>社会团体</asp:ListItem>
                                        <asp:ListItem>事业单位</asp:ListItem>
                                        <asp:ListItem>国家机关</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="qys_td">
                                    <span style="color:#ff6600;">重要！</span>请如实选择，否则不能通过网站审核
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>
                                    单位规模：
                                    <asp:DropDownList ID="ddldwgm" runat="server" Width="78px">
                                        <asp:ListItem>10人以下</asp:ListItem>
                                        <asp:ListItem>11-30人</asp:ListItem>
                                        <asp:ListItem>31-100人</asp:ListItem>
                                        <asp:ListItem>101-200人</asp:ListItem>
                                        <asp:ListItem>201-500人</asp:ListItem>
                                        <asp:ListItem>500人以上</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="qys_td">
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>
                                    成立年份：
                                    <asp:TextBox ID="txtclnf" runat="server" Width="73px"></asp:TextBox>
                                    &nbsp;年
                                </td>
                                <td class="qys_td">
                                </td>
                            </tr>
                        </table>
                        <div class="jbxx_lr_ls">
                            联系方式</div>
                        <table border="0" cellpadding="0" cellspacing="0" class="jbzl_tab_ls">
                            <tr>
                                <td class="red_td" width="10">
                                    *
                                </td>
                                <td width="280">联&nbsp;&nbsp;系&nbsp;人： 
                                    <asp:TextBox ID="txtlxr" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtlxr"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td class="qys_td">
                                    如果不愿意公开姓名，建议以 <span class="style3">您的姓氏</span> 加 <span class="style3">先生或女士</span> 填写此信息
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>固定电话： 
                                    <asp:TextBox ID="txttelephone" runat="server" Width="129px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txttelephone"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                    &nbsp;
                                </td>
                                <td class="qys_td">
                                    <span class="style3">格式</span>：区号-电话，如果没有固话，请填写我就业网服务热线0635-8251515
                                </td>
                            </tr>
 
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>手　　机： <asp:TextBox ID="txtmobilephone" runat="server"></asp:TextBox>
                                </td>
                                <td class="qys_td">
                                <span class="style3">同时联系我们</span>，否则不能通过网站审核
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td" width="10">
                                    *
                                </td>
                                <td> 邮　　箱： <asp:TextBox ID="txtemail" runat="server" onblur="javascript:checkEmail(this)"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="txtemail"
                                        ErrorMessage="*"></asp:RequiredFieldValidator><span id="div_emailmsg"></span>
                                </td>
                                <td class="qys_td" >
                                    <span style="color:#ff6600;">重要！</span>请输入您的常用邮箱，它将是您重置密码的唯一依据
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                </td>
                                <td>单位网址： <asp:TextBox ID="txtwebsite" runat="server"></asp:TextBox>
                                    &nbsp;
                                </td>
                                <td class="qys_td">
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>场　　所： <asp:TextBox ID="txtplace" runat="server" onblur="javascript:setdz(this.value)" Width="170px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="txtplace"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                                <td class="qys_td">
                                    以营业执照上的住所为准；否则不能通过网站审核
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>
                                    单位地址：
                                    <asp:TextBox ID="txtaddress" runat="server" Width="170px"></asp:TextBox>
                                </td>
                                <td class="qys_td">
                                </td>
                            </tr>
                            <tr>
                                <td class="red_td">
                                    *
                                </td>
                                <td>
                                    面试地址：
                                    <asp:TextBox ID="txtinterviewadd" runat="server" Width="170px"></asp:TextBox>
                                </td>
                                <td class="qys_td">
                                   <span style="color:#ff6600;">重要！</span>和营业执照上的住所不一致，应准确详细填写，便于求职者查询。否则不能通过网站审核
                                </td>
                            </tr>
                        </table>
                        </div>
                        <!--单位介绍层开始-->
                        <div id="dwjs" name="dwjs" style=" margin:0 auto;" class="disnone">
                            <div class="jbxx_lr_ls">单位介绍</div>
					        <table border="0" cellpadding="0" cellspacing="0" class="jbzl_tab_ls">

						            <tr>
							            <td>
                                    

                                         <x:PageManager ID="PageManager1" runat="server" />
                                            <x:HtmlEditor runat="server" ID="txtabout" Height="225px" Width="680px" Text="" >
                                            </x:HtmlEditor>
                                        </td>
						            </tr>
						            <tr>
							            <td style="line-height:28px; padding-left:20px"><span style="color:#ff6600;">友情提示：以下信息，不要在这里留下，否则不能通过网站审核。</span><br/>
                                        1．电话、手机、传真、电子邮箱、QQ、MSN、网址等联系方式<br/>
                                        2．招聘职位信息<br/>
                                        3．引导求职者脱离本网站直接与公司取得联系的文字
                                        </td>
						            </tr>
					            </table>
                        </div>
                        <!--单位介绍层结束-->
                            
                      <div class="xiayibu">
                           <asp:Button ID="btn_save" runat="server" OnClick="btn_save_Click" CssClass="enterprise_saveBtn"/>
                           &nbsp;<asp:HiddenField ID="hid_bid" runat="server" />
                       </div>
                    </div>
                   
                </div>
            </div>
        </div>
        <uc2:Bottom8 ID="Bottom81" runat="server" />
    </div>
    <div style="display: none" id="maskLayer">
        <iframe style="filter: alpha(opacity=50)" id="maskLayer_iframe" src="about:blank"
            frameborder="0" scrolling="no"></iframe>
        <div style="filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5" id="alphadiv">
        </div>
        <div id="drag">
            <h3 id="drag_h">
            </h3>
            <div id="drag_con">
            </div>
            <!-- drag_con end -->
        </div>
    </div>
    <!-- maskLayer end -->
    <div>
    </div>
    <!-- alpha div end -->
    <div style="display: none" id="sublist">
    </div>
    </form>
</body>
</html>
